/**
 * Copyright (c) 2016-2019 九点科技 All rights reserved.
 *
 * http://www.9dyun.cn
 *
 * 版权所有，侵权必究！
 */
package com.dian.modules.enums.inv;

import com.dian.common.enums.EnumMessage;
/**
 * 月结报表-单据状态枚举
 *
 * @author xiaolai
 * @email xiaolai@9dyun.cn
 * @date 2019-06-27 11:48:04
 */
public enum GoodsAccount_AccountStateEnum implements EnumMessage{
    
        /**
         * 未审核 WAITCHECK 1
         */
        WAITCHECK(1,"未审核"),
    
        /**
         * 出库核算 OUTCHECK 2
         */
        OUTCHECK(2,"出库核算"),
    
        /**
         * 已结算 AUDITED 3
         */
        AUDITED(3,"已结算"),
    
        /**
         * 已作废 INVALID 99
         */
        INVALID(99,"已作废"); 
    
    private int code;
    private String desc;

        GoodsAccount_AccountStateEnum(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    @Override
    public int getValue() {return code;}

    @Override
    public String getDesc() {return desc;}
}
